package com.lz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Package com.lz.domain
 * @Project currency-trading
 * @Author lenovo
 * @Date 2022/1/10 17:45
 * @Describe TODO
 * @Version V1.0
 */

/**
 * 角色权限配置
 */
@ApiModel(value = "角色权限配置")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_privilege")
public class SysRolePrivilege implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "")
    private Long id;

    @TableField(value = "role_id")
    @ApiModelProperty(value = "")
    private Long roleId;

    @TableField(value = "privilege_id")
    @ApiModelProperty(value = "")
    private Long privilegeId;

    private static final long serialVersionUID = 1L;
}